//
//  File.swift
//  sinaDemo
//
//  Created by mac on 15/12/12.
//  Copyright © 2015年 zhouxubin. All rights reserved.
//

import UIKit

let screenBoundsWidth: CGFloat = UIScreen.mainScreen().bounds.width
let screenBounds = UIScreen.mainScreen().bounds
let tabBarButtonCount: CGFloat = 5
// App Key：4072376358
// App Secret：9d4be74601f8ef9972d3e73b66017f1a
/*
client_id	true	string	申请应用时分配的AppKey。
redirect_uri	true	string	授权回调地址，站外应用需与设置的回调地址一致，站内应用需填写canvas page的地址。
*/
let client_id = "4072376358"
let redirect_uri = "http://www.baidu.com"
let scret = "9d4be74601f8ef9972d3e73b66017f1a"

// 账户存储沙盒路径
let accountPath = (NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true)[0] as NSString).stringByAppendingPathComponent("account.plist")

let switchRootVCNotification = "switchRootVCNotification"
let notificationCenter = NSNotificationCenter.defaultCenter()

// MARK: 微博数据API
let weiboTimeLineAPI = "https://api.weibo.com/2/statuses/friends_timeline.json"

// MARK: 微博首页布局信息
let statusCellMargin: CGFloat = 8
let statusCellIconWH = 45
let statusCellMemberWH = 17

// MARK: 微博首页昵称时间来源字体大小
let statusCellNameFont: CGFloat = 13.0
let statusCellContentFont: CGFloat = 14.0